package com.cheer.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author cheer
 */
@Data
public class OaLearnClassAddDTO {

    private Integer pid;

    @NotBlank(message = "单位名称不能为空")
    @Length(max = 100, message = "单位名称字符数不能超过100")
    private String name;

    private Integer num;
}
